//
//  ProvinceModel.swift
//  IdleFish
//
//  Created by Ben on 2022/1/16.
//

import SwiftUI

class ProvinceModel: Codable, Identifiable, Equatable {
    static func == (lhs: ProvinceModel, rhs: ProvinceModel) -> Bool {
        return lhs.id == rhs.id
    }
    
    var id: String?
    var name: String?
    var city_list: [CityModel] = []
}

class CityModel: Codable, Identifiable, Equatable {
    static func == (lhs: CityModel, rhs: CityModel) -> Bool {
        return lhs.id == rhs.id
    }
    
    var id: String?
    var name: String?
}
